package com.aijk.ehm.api;

import com.aijk.commons.exception.ErrorCodeException;
import com.aijk.ehm.model.SysAppVersion;
import com.aijk.ehm.model.qo.SysAppVersionQo;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface SysAppVersionApi {
    Long save(SysAppVersion bean) throws ErrorCodeException;

    void update(SysAppVersion bean) throws ErrorCodeException;

    SysAppVersion findOne(Long id) throws ErrorCodeException;

    List<SysAppVersion> list(SysAppVersionQo qo);

    void deleteById(Long id) throws ErrorCodeException;

    int count(SysAppVersionQo qo);

    PageInfo<SysAppVersion> page(SysAppVersionQo qo);
}